home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 018a / amac41.zip / MACR.DOC < prev    next >
Text File  |  1991-07-31  |  4KB  |  122 lines

  1.                                    MACR.DOC
  2.                                  July 31, 1991
  3.  
  4. MACR31.QM contains a series of txtfiles and macfiles to use with QEdit and
  5. QMAC, the macro translator from SemWare.
  6.  
  7. To get started:
  8.  
  9. 1. Load MACR31.QM with QEdit. You will find a description of the macros, the
  10. revision history, and the macros with comments. You may want to to save the
  11. original copy and make a new copy with a different name. If you do the latter,
  12. just replace MACR31 below with the name of the new copy. Be sure the name
  13. extension is QM.
  14.  
  15. 2. Change "e:\QE" to the drive:\directory where your QCONFIG.DAT and "standard"
  16. macros exist on you system. This can be quickly done as follows:
  17.  
  18.         <esc>
  19.         S
  20.         R
  21.         e:\QE
  22.         <enter>
  23.         [enter your ram or active [drive]:\[directory] e.g. "e:\qe\"]
  24.         <enter>
  25.         I
  26.         <enter>
  27.         Y or N as prompted
  28.  
  29. Save file.
  30.  
  31. 3. The name for my standard macros, the macros I use all the time, is
  32. "macros.qm" and "macros.mac". Using the same procedure as in step 2, carefully
  33. replace "macros" with the name of your standard macros as follows:
  34.  
  35.         <esc>
  36.         S
  37.         R
  38.         MACROS
  39.         <enter>
  40.         [enter your standard macro name]
  41.         <enter>
  42.         I
  43.         <enter>
  44.         Y or N as prompted
  45.  
  46.  
  47. "Standard" macros and QCONFIG.DAT must be in the same directory. Also change
  48. QCONFIG.DAT name if yours if different.
  49.  
  50. 4. Save file.
  51.  
  52. 5. c:\ is my ram disk. A ram disk is not necessary but macros convert much
  53. faster with a ram disk. Load all batch file in QEdit. As above, replace "c:",
  54. not "c:\" with your ram disk, e.g. "D:".
  55.  
  56. If you do not have a ram disk, you may replace "c:" with any active drive on
  57. your system.
  58.  
  59. 6. Save file.
  60.  
  61. 7. "Shell" to Dos
  62.  
  63. 8. Now make a macfile from MACR31.QM as follows:
  64.  
  65.         QMACB MACR31
  66.         <enter>
  67.  
  68. 9. Read macfile MACR31.MAC as follows:
  69.  
  70.         <esc>
  71.         M
  72.         R
  73.         MACR31.MAC
  74.         <enter>
  75.  
  76. You should now be ready to run any of macros in MACR31.QM.
  77.  
  78.  
  79. If your txtfiles do not have the file name extension "QM" and your macfiles do
  80. not have the file name extension "MAC", I suggest you copy all your txtfiles and
  81. macfiles with the following:
  82.  
  83.         copy *.[your txtfiles extension]  *.QM
  84.         copy *.[your macfiles extension]  *.MAC
  85.  
  86. 10. Run Alt-7 as above which will convert the txtfile you loaded to a macfile
  87. named c:$.MAC, convert c:$.MAC to a txtfile c:$.QM, and then load the c:$.QM and
  88. read c:$.MAC. Although the macfile name has changed, the macros in your macro
  89. buffer should still be the same as before running this macro.
  90.  
  91. 11. Run Alt-0 which will convert the txtfile to a macfile and read it's
  92. macfile.
  93.  
  94. 12. Run ALt-9 which will which does the same as step 11 but the macfile is not
  95. re-read.
  96.  
  97. 13. Run Alt-3. Enter "ZERO.QM" at the prompt, then Enter. You should see ZERO.QM
  98. at the end of DUM4.QM which is txtfile of the current active macros with ZERO.QM
  99. appended to it.
  100.  
  101. 14. With ZERO.QM loaded, run Alt-4 and you should see the txtfile ZERO.QM at the
  102. end of DUM3.QM which is a txtfile of your standard macros with the ZERO.QM
  103. appended to it. DUM3.MAC is a macfile of your standard macros with ZERO.MAC
  104. appended to it. DUM3.MAC has been read.
  105.  
  106. Remember QEdit macro buffer is limited to 2046 (not 2048) bytes, so be careful;
  107. if your standard macros are large and you try to append large macros to them,
  108. you will get an error message.
  109.  
  110. 15. Run Alt-5 anytime after macros using QMAC have been run to load "c:!" in a
  111. window showing any errors from QMAC. Press Enter to remove error window. Macros
  112. using an error window will automatically find the first error in the txtfile for
  113. easy correction. You may test the error window by removing the asterisk at the
  114. end of MACR31.QM.
  115.  
  116. 16. Run Alt-8 to load the macfile MACR31.MAC. This is not necessary but is just
  117. a test of Alt-8.
  118.  
  119. 17. Run Alt-2 to refresh the macro buffer with your standard macros.
  120.  
  121. QEdit and QMAC are powerful editing tools. I hope these macros help.
  122.